<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>EquTemper: ETU_CreateIt Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="$relpath<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>/search.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript">
$(document).ready(initResizable);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<div id="top"><!-- do not remove this div! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">EquTemper&#160;<span id="projectnumber">1.01</span></div>
   <div id="projectbrief">An equation editor.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- Generated by Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Search');
--></script>
<script type="text/javascript">
function hasClass(ele,cls) {
  return ele.className.match(new RegExp('(\\s|^)'+cls+'(\\s|$)'));
}

function addClass(ele,cls) {
  if (!this.hasClass(ele,cls)) ele.className += " "+cls;
}

function removeClass(ele,cls) {
  if (hasClass(ele,cls)) {
    var reg = new RegExp('(\\s|^)'+cls+'(\\s|$)');
    ele.className=ele.className.replace(reg,' ');
  }
}

function toggleVisibility(linkObj) {
 var base = linkObj.getAttribute('id');
 var summary = document.getElementById(base + '-summary');
 var content = document.getElementById(base + '-content');
 var trigger = document.getElementById(base + '-trigger');
 if ( hasClass(linkObj,'closed') ) {
   summary.style.display = 'none';
   content.style.display = 'block';
   trigger.src = 'open.png';
   removeClass(linkObj,'closed');
   addClass(linkObj,'opened');
 } else if ( hasClass(linkObj,'opened') ) {
   summary.style.display = 'block';
   content.style.display = 'none';
   trigger.src = 'closed.png';
   removeClass(linkObj,'opened');
   addClass(linkObj,'closed');
 }
 return false;
}
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('class_e_t_u___create_it.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ETU_CreateIt Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="ETU_CreateIt" --><!-- doxytag: inherits="ETUndoElem" -->
<p>undo/redo action for creating / deleting an item  
 <a href="class_e_t_u___create_it.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png"/> Inheritance diagram for ETU_CreateIt:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_e_t_u___create_it__inherit__graph.png" border="0" usemap="#_e_t_u___create_it_inherit__map" alt="Inheritance graph"/></div>
<map name="_e_t_u___create_it_inherit__map" id="_e_t_u___create_it_inherit__map">
<area shape="rect" id="node2" href="class_e_t_undo_elem.html" title="class representing the common interface exposed by all sub&#45;items of a ETI_CplxTxt" alt="" coords="7,83,105,112"/><area shape="rect" id="node4" href="class_c_c___l2_d.html" title="class representing the list element in a linked list system" alt="" coords="20,5,92,35"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div id="dynsection-1" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-1-trigger" src="closed.png"/> Collaboration diagram for ETU_CreateIt:</div>
<div id="dynsection-1-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-1-content" class="dyncontent" style="display:none;">
<div class="center"><img src="class_e_t_u___create_it__coll__graph.png" border="0" usemap="#_e_t_u___create_it_coll__map" alt="Collaboration graph"/></div>
<map name="_e_t_u___create_it_coll__map" id="_e_t_u___create_it_coll__map">
<area shape="rect" id="node2" href="class_e_t_undo_elem.html" title="class representing the common interface exposed by all sub&#45;items of a ETI_CplxTxt" alt="" coords="166,373,264,403"/><area shape="rect" id="node14" href="class_e_t_undo_head.html" title="class representing the base of an undo&#45;redo system in a sheet" alt="" coords="204,472,306,501"/><area shape="rect" id="node4" href="class_c_c___l2_d.html" title="class representing the list element in a linked list system" alt="" coords="258,256,330,285"/><area shape="rect" id="node16" href="class_c_c___h_d_l2_d.html" title="class representing the list header in a linked list system" alt="" coords="288,373,382,403"/><area shape="rect" id="node37" href="class_e_t_sub_item.html" title="class representing the common interface exposed by all sub&#45;items of a ETI_CplxTxt" alt="" coords="456,373,544,403"/><area shape="rect" id="node7" href="class_e_t_sheet.html" title="Class representing logical root for all elements contained in a document (sheet)" alt="" coords="218,568,290,597"/><area shape="rect" id="node11" href="class_mdi_child.html" title="form representing a document inside MDI area" alt="" coords="208,664,280,693"/><area shape="rect" id="node9" href="class_d_d_h_c_1_1_ghost.html" title="class to be inherited by the classes that need to be tracked" alt="" coords="883,25,987,55"/><area shape="rect" id="node21" href="class_d_d_h_c_1_1_c_inst.html" title="a container for class instances that inherit from DDHC:Ghost" alt="" coords="592,141,694,171"/><area shape="rect" id="node27" href="class_e_t_sheet_view.html" title="Widget capable of displaying an ETSheet content." alt="" coords="799,472,900,501"/><area shape="rect" id="node32" href="class_e_t_i___cplx_txt.html" title="class representing a complex text; this may or may not represent an equation" alt="" coords="622,256,718,285"/><area shape="rect" id="node35" href="class_e_t_s_i___root.html" title="sub&#45;item able to host a row of horizontal sub&#45;items" alt="" coords="458,472,543,501"/><area shape="rect" id="node23" href="class_d_d_h_c_1_1_mdl_item.html" title="the QModelIndex has internalPointer() either NULL or pointing to a class tha inherits this one..." alt="" coords="584,25,702,55"/><area shape="rect" id="node30" href="class_e_t_vp_command.html" title="abstract class representing prerequisites for a command running in a ETSheetView" alt="" coords="903,373,1018,403"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_e_t_u___create_it-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">Type</a> { <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aad787dac409ad43d625e00d2767f3b998">UNDEFINED</a> =  0, 
<a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aa0107b02bc06a57005759bddd04fd51aa">CREATE_ITEM</a>, 
<a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aad68a7c656c5db4b37dc20742fd2b471e">DELETE_ITEM</a>, 
<a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aa22242e78f52f53c6a93bcc1c702428b0">MAX_TY</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">describes all possible types of undo elements  <a href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a63450ba39ee902b1d26574278078b700">ETU_CreateIt</a> (<a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">ETUndoElem::Type</a> el_ty, QGraphicsItem *it_to_handle)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">constructor  <a href="#a63450ba39ee902b1d26574278078b700"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a1148a7af3c17c471b96afc44bc548af6">~ETU_CreateIt</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor  <a href="#a1148a7af3c17c471b96afc44bc548af6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a1554bc9f0dcf22c551445684aaeadcbc">fromDelete</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">tell if the item was created as a result of a create event or a delete  <a href="#a1554bc9f0dcf22c551445684aaeadcbc"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#aff29d2a425764fa2824efc2e5f535e4a">index</a> (const <a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *pFth) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">gets the index of a particular item inside the father  <a href="#aff29d2a425764fa2824efc2e5f535e4a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#a139d291186a7b10d81cc4b54631dd130">extract</a> (<a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *pFth)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">extract this item from the chain  <a href="#a139d291186a7b10d81cc4b54631dd130"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#aca821f52c57db41aa323a5e2fdbe7cbb">insAfter</a> (<a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *pFth, class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *pNew)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">insert an item after this item  <a href="#aca821f52c57db41aa323a5e2fdbe7cbb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#aaa4332899dec0fce031cc5f1f51bb980">insBefore</a> (<a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *pFth, class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *pNew)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">insert an item before this item  <a href="#aaa4332899dec0fce031cc5f1f51bb980"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#a0fc686a4a2d28e87c1e699b94dd71dae">dbgDump</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">print the content of this object to debug output  <a href="#a0fc686a4a2d28e87c1e699b94dd71dae"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Required to be implemented by the ETUndoElem</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a9b3fde5f892e156d33c1fe1233f3d62c">performUndo</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">perform the undo action  <a href="#a9b3fde5f892e156d33c1fe1233f3d62c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a3c51733beda158c8d686c762f3a19997">performRedo</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">perform the redo action  <a href="#a3c51733beda158c8d686c762f3a19997"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Mirrored status</div></td></tr>
<tr><td colspan="2"><div class="groupText"><p>Some commands may be implemented by one class for two complementary actions (like create / delete). These commands may use this flag to know wich version to perform on undo / redo </p>
</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a57ba162eb84c3949c66228525522d52b">setMirrored</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">mark the item to be in mirrored form  <a href="#a57ba162eb84c3949c66228525522d52b"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a739b6775ddeefb257133ea362615ebc0">setUnMirrored</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">mark the item to be in un-mirrored form  <a href="#a739b6775ddeefb257133ea362615ebc0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#aa1b8e564f63984d8b3d09a5b1a3dc01f">isMirrored</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">tell if this item is in mirrored state  <a href="#aa1b8e564f63984d8b3d09a5b1a3dc01f"></a><br/></td></tr>
<tr><td colspan="2"><div class="groupHeader">Various</div></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#af687b0a789829ef70b4d6d8540eea7df">type</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">tell the type of this item  <a href="#af687b0a789829ef70b4d6d8540eea7df"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6">Flags</a> { <a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6aaf324d97207047c71e57adc2a2294ffb">NOFLAGS</a> =  0, 
<a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6a925456b521ced24e186fd8b9427453e5">STATE_UNDO_READY</a>, 
<a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6af145e21636b907369a9fabaaf6f763f3">MIRRORED</a>, 
<a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6a4a0d7c2b92d3e01e52793e3a1f132541">MAX_FLAGS</a>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">one bit switches  <a href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6">More...</a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6">Flags</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a6ef9495068d1c7b5600423c328c4989c">flg</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">one bit switches used by this class and inheritants  <a href="#a6ef9495068d1c7b5600423c328c4989c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a66cfdc3d2bc58c52c966ae3c7150b63c">descr</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">description of this action  <a href="#a66cfdc3d2bc58c52c966ae3c7150b63c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">Type</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a466057232c7588fea57b2b606a1be40e">the_type</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the type of this action  <a href="#a466057232c7588fea57b2b606a1be40e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#a5ee11ed3d96885932a46161953a5db46">LipN</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to next element in list  <a href="#a5ee11ed3d96885932a46161953a5db46"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_c___l2_d.html#a06f1614f3ae7e0ee5a309520667738bc">LipP</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">pointer to previous element in list  <a href="#a06f1614f3ae7e0ee5a309520667738bc"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QGraphicsItem *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#a5d21c1858892417e6581d0f8d1921134">assoc_it</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">the item that must be created / deleted  <a href="#a5d21c1858892417e6581d0f8d1921134"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_sheet.html">ETSheet</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_u___create_it.html#ac260deef23063b3ea3447c91eb44e79f">sheet</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">associated sheet where actions are performed  <a href="#ac260deef23063b3ea3447c91eb44e79f"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Undo / Redo status</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#ac212d9ce4e989e7ffcf9931c7006bbeb">isUndoReady</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">tell if this item is ready to be undone  <a href="#ac212d9ce4e989e7ffcf9931c7006bbeb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#aeacc52fe1dfcc769fd8f655845c1d989">isRedoReady</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">tell if this item is ready to be undone  <a href="#aeacc52fe1dfcc769fd8f655845c1d989"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a32fafe9ce75f07f5cf88a550f21cc05e">setUndoReady</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">marks this sub-item as being ready to be un-done  <a href="#a32fafe9ce75f07f5cf88a550f21cc05e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#aee8ab685b6f0a91562a544275d4aaa29">setRedoReady</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">marks this sub-item as being ready to be re-done  <a href="#aee8ab685b6f0a91562a544275d4aaa29"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Associated text</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a993ebb744103e60f278d0eecd2f98562">description</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">get the text that describes this instance  <a href="#a993ebb744103e60f278d0eecd2f98562"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a62f8c0c7ce522bb21c65b5a29ed46662">setDescription</a> (QString new_descr)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">set the description for this item  <a href="#a62f8c0c7ce522bb21c65b5a29ed46662"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="member-group"></a>
Reimplementing some CC_L2D functionality. Add new</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_undo_elem.html">ETUndoElem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a80f0e8d8608fbb2fb2c7c1ceb3839bbe">next</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return next item  <a href="#a80f0e8d8608fbb2fb2c7c1ceb3839bbe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_e_t_undo_elem.html">ETUndoElem</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a870e61922d1defbca23ba0dcf0b442c9">prev</a> (void) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">return previous item  <a href="#a870e61922d1defbca23ba0dcf0b442c9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a06336b6beb1fcd9c7b7ccafa8cdc4bf3">index</a> (const <a class="el" href="class_e_t_undo_head.html">ETUndoHead</a> *pFth) const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">gets the index of a particular item inside the father  <a href="#a06336b6beb1fcd9c7b7ccafa8cdc4bf3"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a6191ce248c8c8f34eb73da7c52247ba7">extract</a> (<a class="el" href="class_e_t_undo_head.html">ETUndoHead</a> *pFth)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">extract this item from the chain  <a href="#a6191ce248c8c8f34eb73da7c52247ba7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#a9ce2068993480a341c8f612507d5ac08">breakBefore</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">simply breaks the chain before (places NULL in previous member)  <a href="#a9ce2068993480a341c8f612507d5ac08"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_e_t_undo_elem.html#ade49a5f00f9d8ff54e11925e89f7df41">breakAfter</a> (void)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">simply breaks the chain after (places NULL in next member)  <a href="#ade49a5f00f9d8ff54e11925e89f7df41"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>undo/redo action for creating / deleting an item </p>
<p>This class uses the mirroring feature of the <a class="el" href="class_e_t_undo_elem.html" title="class representing the common interface exposed by all sub-items of a ETI_CplxTxt">ETUndoElem</a> class to make itself usable for both creating and deleting items (classes that inherit from QGraphicsItem). The class uses either <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aa0107b02bc06a57005759bddd04fd51aa">ETUndoElem::CREATE_ITEM</a> or <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aad68a7c656c5db4b37dc20742fd2b471e">ETUndoElem::DELETE_ITEM</a> </p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8h_source.html#l00071">71</a> of file <a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a6582aa47c82c62b414197ddbfa4a91b6"></a><!-- doxytag: member="ETU_CreateIt::Flags" ref="a6582aa47c82c62b414197ddbfa4a91b6" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6">ETUndoElem::Flags</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>one bit switches </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a6582aa47c82c62b414197ddbfa4a91b6aaf324d97207047c71e57adc2a2294ffb"></a><!-- doxytag: member="NOFLAGS" ref="a6582aa47c82c62b414197ddbfa4a91b6aaf324d97207047c71e57adc2a2294ffb" args="" -->NOFLAGS</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6582aa47c82c62b414197ddbfa4a91b6a925456b521ced24e186fd8b9427453e5"></a><!-- doxytag: member="STATE_UNDO_READY" ref="a6582aa47c82c62b414197ddbfa4a91b6a925456b521ced24e186fd8b9427453e5" args="" -->STATE_UNDO_READY</em>&nbsp;</td><td>
<p>the action was performed and the valid action uppon this class is <a class="el" href="class_e_t_undo_elem.html#a4a60dcb4ea178ad3238089f1a51cbcc4" title="perform the undo action">performUndo()</a>; if this flag is not set, then <a class="el" href="class_e_t_undo_elem.html#a4a60dcb4ea178ad3238089f1a51cbcc4" title="perform the undo action">performUndo()</a> is not valid and <a class="el" href="class_e_t_undo_elem.html#a04b1d1fd102fdfba178667193e46ab0f" title="perform the redo action">performRedo()</a> is </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6582aa47c82c62b414197ddbfa4a91b6af145e21636b907369a9fabaaf6f763f3"></a><!-- doxytag: member="MIRRORED" ref="a6582aa47c82c62b414197ddbfa4a91b6af145e21636b907369a9fabaaf6f763f3" args="" -->MIRRORED</em>&nbsp;</td><td>
<p>some commands may be implemented by one class for two complementary actions (like create / delete). These commands may use this flag to know wich version to perform on undo / redo </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a6582aa47c82c62b414197ddbfa4a91b6a4a0d7c2b92d3e01e52793e3a1f132541"></a><!-- doxytag: member="MAX_FLAGS" ref="a6582aa47c82c62b414197ddbfa4a91b6a4a0d7c2b92d3e01e52793e3a1f132541" args="" -->MAX_FLAGS</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00082">82</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a19152c21940321994573210e30c9f09a"></a><!-- doxytag: member="ETU_CreateIt::Type" ref="a19152c21940321994573210e30c9f09a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">ETUndoElem::Type</a><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>describes all possible types of undo elements </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a19152c21940321994573210e30c9f09aad787dac409ad43d625e00d2767f3b998"></a><!-- doxytag: member="UNDEFINED" ref="a19152c21940321994573210e30c9f09aad787dac409ad43d625e00d2767f3b998" args="" -->UNDEFINED</em>&nbsp;</td><td>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a19152c21940321994573210e30c9f09aa0107b02bc06a57005759bddd04fd51aa"></a><!-- doxytag: member="CREATE_ITEM" ref="a19152c21940321994573210e30c9f09aa0107b02bc06a57005759bddd04fd51aa" args="" -->CREATE_ITEM</em>&nbsp;</td><td>
<p><a class="el" href="class_e_t_u___create_it.html" title="undo/redo action for creating / deleting an item">ETU_CreateIt</a> instance; mirror not set </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a19152c21940321994573210e30c9f09aad68a7c656c5db4b37dc20742fd2b471e"></a><!-- doxytag: member="DELETE_ITEM" ref="a19152c21940321994573210e30c9f09aad68a7c656c5db4b37dc20742fd2b471e" args="" -->DELETE_ITEM</em>&nbsp;</td><td>
<p><a class="el" href="class_e_t_u___create_it.html" title="undo/redo action for creating / deleting an item">ETU_CreateIt</a> instance; mirror set </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a19152c21940321994573210e30c9f09aa22242e78f52f53c6a93bcc1c702428b0"></a><!-- doxytag: member="MAX_TY" ref="a19152c21940321994573210e30c9f09aa22242e78f52f53c6a93bcc1c702428b0" args="" -->MAX_TY</em>&nbsp;</td><td>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00102">102</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a63450ba39ee902b1d26574278078b700"></a><!-- doxytag: member="ETU_CreateIt::ETU_CreateIt" ref="a63450ba39ee902b1d26574278078b700" args="(ETUndoElem::Type el_ty, QGraphicsItem *it_to_handle)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ETU_CreateIt::ETU_CreateIt </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">ETUndoElem::Type</a>&#160;</td>
          <td class="paramname"><em>el_ty</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QGraphicsItem *&#160;</td>
          <td class="paramname"><em>it_to_handle</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>constructor </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">el_ty</td><td>must be either <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aa0107b02bc06a57005759bddd04fd51aa">ETUndoElem::CREATE_ITEM</a> or <a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09aad68a7c656c5db4b37dc20742fd2b471e">ETUndoElem::DELETE_ITEM</a> </td></tr>
    <tr><td class="paramname">it_to_handle</td><td>the item that must be handled; if the item expires in the undo state the instance is deleted. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8cc_source.html#l00063">63</a> of file <a class="el" href="_e_t_u___create_it_8cc_source.html">ETU_CreateIt.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a1148a7af3c17c471b96afc44bc548af6"></a><!-- doxytag: member="ETU_CreateIt::~ETU_CreateIt" ref="a1148a7af3c17c471b96afc44bc548af6" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ETU_CreateIt::~ETU_CreateIt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>destructor </p>
<p>May destroy the item it hosts on certain conditions. </p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8cc_source.html#l00099">99</a> of file <a class="el" href="_e_t_u___create_it_8cc_source.html">ETU_CreateIt.cc</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ade49a5f00f9d8ff54e11925e89f7df41"></a><!-- doxytag: member="ETU_CreateIt::breakAfter" ref="ade49a5f00f9d8ff54e11925e89f7df41" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::breakAfter </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>simply breaks the chain after (places NULL in next member) </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00280">280</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9ce2068993480a341c8f612507d5ac08"></a><!-- doxytag: member="ETU_CreateIt::breakBefore" ref="a9ce2068993480a341c8f612507d5ac08" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::breakBefore </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>simply breaks the chain before (places NULL in previous member) </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00276">276</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0fc686a4a2d28e87c1e699b94dd71dae"></a><!-- doxytag: member="ETU_CreateIt::dbgDump" ref="a0fc686a4a2d28e87c1e699b94dd71dae" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CC_L2D::dbgDump </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>print the content of this object to debug output </p>

<p>Definition at line <a class="el" href="cc__l2d_8h_source.html#l00425">425</a> of file <a class="el" href="cc__l2d_8h_source.html">cc_l2d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a993ebb744103e60f278d0eecd2f98562"></a><!-- doxytag: member="ETU_CreateIt::description" ref="a993ebb744103e60f278d0eecd2f98562" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString ETUndoElem::description </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>get the text that describes this instance </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00197">197</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6191ce248c8c8f34eb73da7c52247ba7"></a><!-- doxytag: member="ETU_CreateIt::extract" ref="a6191ce248c8c8f34eb73da7c52247ba7" args="(ETUndoHead *pFth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::extract </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_e_t_undo_head.html">ETUndoHead</a> *&#160;</td>
          <td class="paramname"><em>pFth</em></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>extract this item from the chain </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00271">271</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a139d291186a7b10d81cc4b54631dd130"></a><!-- doxytag: member="ETU_CreateIt::extract" ref="a139d291186a7b10d81cc4b54631dd130" args="(CC_HDL2D *pFth)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CC_L2D::extract </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *&#160;</td>
          <td class="paramname"><em>pFth</em></td><td>)</td>
          <td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>extract this item from the chain </p>

<p>Definition at line <a class="el" href="cc__l2d_8cc_source.html#l00249">249</a> of file <a class="el" href="cc__l2d_8cc_source.html">cc_l2d.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a1554bc9f0dcf22c551445684aaeadcbc"></a><!-- doxytag: member="ETU_CreateIt::fromDelete" ref="a1554bc9f0dcf22c551445684aaeadcbc" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ETU_CreateIt::fromDelete </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tell if the item was created as a result of a create event or a delete </p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8h_source.html#l00123">123</a> of file <a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a>.</p>

</div>
</div>
<a class="anchor" id="aff29d2a425764fa2824efc2e5f535e4a"></a><!-- doxytag: member="ETU_CreateIt::index" ref="aff29d2a425764fa2824efc2e5f535e4a" args="(const CC_HDL2D *pFth) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int CC_L2D::index </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *&#160;</td>
          <td class="paramname"><em>pFth</em></td><td>)</td>
          <td> const<code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>gets the index of a particular item inside the father </p>

<p>Definition at line <a class="el" href="cc__l2d_8cc_source.html#l00271">271</a> of file <a class="el" href="cc__l2d_8cc_source.html">cc_l2d.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a06336b6beb1fcd9c7b7ccafa8cdc4bf3"></a><!-- doxytag: member="ETU_CreateIt::index" ref="a06336b6beb1fcd9c7b7ccafa8cdc4bf3" args="(const ETUndoHead *pFth) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int ETUndoElem::index </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="class_e_t_undo_head.html">ETUndoHead</a> *&#160;</td>
          <td class="paramname"><em>pFth</em></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>gets the index of a particular item inside the father </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00264">264</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="aca821f52c57db41aa323a5e2fdbe7cbb"></a><!-- doxytag: member="ETU_CreateIt::insAfter" ref="aca821f52c57db41aa323a5e2fdbe7cbb" args="(CC_HDL2D *pFth, class CC_L2D *pNew)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CC_L2D::insAfter </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *&#160;</td>
          <td class="paramname"><em>pFth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *&#160;</td>
          <td class="paramname"><em>pNew</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>insert an item after this item </p>

<p>Definition at line <a class="el" href="cc__l2d_8cc_source.html#l00210">210</a> of file <a class="el" href="cc__l2d_8cc_source.html">cc_l2d.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aaa4332899dec0fce031cc5f1f51bb980"></a><!-- doxytag: member="ETU_CreateIt::insBefore" ref="aaa4332899dec0fce031cc5f1f51bb980" args="(CC_HDL2D *pFth, class CC_L2D *pNew)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CC_L2D::insBefore </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_c_c___h_d_l2_d.html">CC_HDL2D</a> *&#160;</td>
          <td class="paramname"><em>pFth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a> *&#160;</td>
          <td class="paramname"><em>pNew</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>insert an item before this item </p>

<p>Definition at line <a class="el" href="cc__l2d_8cc_source.html#l00229">229</a> of file <a class="el" href="cc__l2d_8cc_source.html">cc_l2d.cc</a>.</p>

</div>
</div>
<a class="anchor" id="aa1b8e564f63984d8b3d09a5b1a3dc01f"></a><!-- doxytag: member="ETU_CreateIt::isMirrored" ref="aa1b8e564f63984d8b3d09a5b1a3dc01f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ETUndoElem::isMirrored </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tell if this item is in mirrored state </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00236">236</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeacc52fe1dfcc769fd8f655845c1d989"></a><!-- doxytag: member="ETU_CreateIt::isRedoReady" ref="aeacc52fe1dfcc769fd8f655845c1d989" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ETUndoElem::isRedoReady </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tell if this item is ready to be undone </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00179">179</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac212d9ce4e989e7ffcf9931c7006bbeb"></a><!-- doxytag: member="ETU_CreateIt::isUndoReady" ref="ac212d9ce4e989e7ffcf9931c7006bbeb" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool ETUndoElem::isUndoReady </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tell if this item is ready to be undone </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00174">174</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a80f0e8d8608fbb2fb2c7c1ceb3839bbe"></a><!-- doxytag: member="ETU_CreateIt::next" ref="a80f0e8d8608fbb2fb2c7c1ceb3839bbe" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_undo_elem.html">ETUndoElem</a>* ETUndoElem::next </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return next item </p>

<p>Reimplemented from <a class="el" href="class_c_c___l2_d.html#aeb9d7a3f646afaebaf5575fbf5427019">CC_L2D</a>.</p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00254">254</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3c51733beda158c8d686c762f3a19997"></a><!-- doxytag: member="ETU_CreateIt::performRedo" ref="a3c51733beda158c8d686c762f3a19997" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETU_CreateIt::performRedo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>perform the redo action </p>

<p>Implements <a class="el" href="class_e_t_undo_elem.html#a04b1d1fd102fdfba178667193e46ab0f">ETUndoElem</a>.</p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8cc_source.html#l00150">150</a> of file <a class="el" href="_e_t_u___create_it_8cc_source.html">ETU_CreateIt.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a9b3fde5f892e156d33c1fe1233f3d62c"></a><!-- doxytag: member="ETU_CreateIt::performUndo" ref="a9b3fde5f892e156d33c1fe1233f3d62c" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETU_CreateIt::performUndo </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>perform the undo action </p>

<p>Implements <a class="el" href="class_e_t_undo_elem.html#a4a60dcb4ea178ad3238089f1a51cbcc4">ETUndoElem</a>.</p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8cc_source.html#l00125">125</a> of file <a class="el" href="_e_t_u___create_it_8cc_source.html">ETU_CreateIt.cc</a>.</p>

</div>
</div>
<a class="anchor" id="a870e61922d1defbca23ba0dcf0b442c9"></a><!-- doxytag: member="ETU_CreateIt::prev" ref="a870e61922d1defbca23ba0dcf0b442c9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_undo_elem.html">ETUndoElem</a>* ETUndoElem::prev </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>return previous item </p>

<p>Reimplemented from <a class="el" href="class_c_c___l2_d.html#af15b4a38aea86e7dc9970b9f9c514595">CC_L2D</a>.</p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00259">259</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a62f8c0c7ce522bb21c65b5a29ed46662"></a><!-- doxytag: member="ETU_CreateIt::setDescription" ref="a62f8c0c7ce522bb21c65b5a29ed46662" args="(QString new_descr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::setDescription </td>
          <td>(</td>
          <td class="paramtype">QString&#160;</td>
          <td class="paramname"><em>new_descr</em></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>set the description for this item </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00204">204</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a57ba162eb84c3949c66228525522d52b"></a><!-- doxytag: member="ETU_CreateIt::setMirrored" ref="a57ba162eb84c3949c66228525522d52b" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::setMirrored </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>mark the item to be in mirrored form </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00228">228</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="aee8ab685b6f0a91562a544275d4aaa29"></a><!-- doxytag: member="ETU_CreateIt::setRedoReady" ref="aee8ab685b6f0a91562a544275d4aaa29" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::setRedoReady </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>marks this sub-item as being ready to be re-done </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00168">168</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a32fafe9ce75f07f5cf88a550f21cc05e"></a><!-- doxytag: member="ETU_CreateIt::setUndoReady" ref="a32fafe9ce75f07f5cf88a550f21cc05e" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::setUndoReady </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>marks this sub-item as being ready to be un-done </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00163">163</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a739b6775ddeefb257133ea362615ebc0"></a><!-- doxytag: member="ETU_CreateIt::setUnMirrored" ref="a739b6775ddeefb257133ea362615ebc0" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ETUndoElem::setUnMirrored </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>mark the item to be in un-mirrored form </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00232">232</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="af687b0a789829ef70b4d6d8540eea7df"></a><!-- doxytag: member="ETU_CreateIt::type" ref="af687b0a789829ef70b4d6d8540eea7df" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">Type</a> ETUndoElem::type </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [inline, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>tell the type of this item </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00320">320</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5d21c1858892417e6581d0f8d1921134"></a><!-- doxytag: member="ETU_CreateIt::assoc_it" ref="a5d21c1858892417e6581d0f8d1921134" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QGraphicsItem* <a class="el" href="class_e_t_u___create_it.html#a5d21c1858892417e6581d0f8d1921134">ETU_CreateIt::assoc_it</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the item that must be created / deleted </p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8h_source.html#l00090">90</a> of file <a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a>.</p>

</div>
</div>
<a class="anchor" id="a66cfdc3d2bc58c52c966ae3c7150b63c"></a><!-- doxytag: member="ETU_CreateIt::descr" ref="a66cfdc3d2bc58c52c966ae3c7150b63c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_e_t_undo_elem.html#a66cfdc3d2bc58c52c966ae3c7150b63c">ETUndoElem::descr</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>description of this action </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00126">126</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6ef9495068d1c7b5600423c328c4989c"></a><!-- doxytag: member="ETU_CreateIt::flg" ref="a6ef9495068d1c7b5600423c328c4989c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_undo_elem.html#a6582aa47c82c62b414197ddbfa4a91b6">Flags</a> <a class="el" href="class_e_t_undo_elem.html#a6ef9495068d1c7b5600423c328c4989c">ETUndoElem::flg</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>one bit switches used by this class and inheritants </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00123">123</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5ee11ed3d96885932a46161953a5db46"></a><!-- doxytag: member="ETU_CreateIt::LipN" ref="a5ee11ed3d96885932a46161953a5db46" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a>* <a class="el" href="class_c_c___l2_d.html#a5ee11ed3d96885932a46161953a5db46">CC_L2D::LipN</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>pointer to next element in list </p>

<p>Definition at line <a class="el" href="cc__l2d_8h_source.html#l00365">365</a> of file <a class="el" href="cc__l2d_8h_source.html">cc_l2d.h</a>.</p>

</div>
</div>
<a class="anchor" id="a06f1614f3ae7e0ee5a309520667738bc"></a><!-- doxytag: member="ETU_CreateIt::LipP" ref="a06f1614f3ae7e0ee5a309520667738bc" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">class <a class="el" href="class_c_c___l2_d.html">CC_L2D</a>* <a class="el" href="class_c_c___l2_d.html#a06f1614f3ae7e0ee5a309520667738bc">CC_L2D::LipP</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>pointer to previous element in list </p>

<p>Definition at line <a class="el" href="cc__l2d_8h_source.html#l00368">368</a> of file <a class="el" href="cc__l2d_8h_source.html">cc_l2d.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac260deef23063b3ea3447c91eb44e79f"></a><!-- doxytag: member="ETU_CreateIt::sheet" ref="ac260deef23063b3ea3447c91eb44e79f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_sheet.html">ETSheet</a>* <a class="el" href="class_e_t_u___create_it.html#ac260deef23063b3ea3447c91eb44e79f">ETU_CreateIt::sheet</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>associated sheet where actions are performed </p>

<p>Definition at line <a class="el" href="_e_t_u___create_it_8h_source.html#l00092">92</a> of file <a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a>.</p>

</div>
</div>
<a class="anchor" id="a466057232c7588fea57b2b606a1be40e"></a><!-- doxytag: member="ETU_CreateIt::the_type" ref="a466057232c7588fea57b2b606a1be40e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_e_t_undo_elem.html#a19152c21940321994573210e30c9f09a">Type</a> <a class="el" href="class_e_t_undo_elem.html#a466057232c7588fea57b2b606a1be40e">ETUndoElem::the_type</a><code> [protected, inherited]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>the type of this action </p>

<p>Definition at line <a class="el" href="_e_t_undo_elem_8h_source.html#l00129">129</a> of file <a class="el" href="_e_t_undo_elem_8h_source.html">ETUndoElem.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_e_t_u___create_it_8h_source.html">ETU_CreateIt.h</a></li>
<li><a class="el" href="_e_t_u___create_it_8cc_source.html">ETU_CreateIt.cc</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="class_e_t_u___create_it.html">ETU_CreateIt</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

    <li class="footer">Generated on Sun Oct 23 2011 22:06:50 for EquTemper by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </li>
   </ul>
 </div>
</body>
</html>
